<?php
if ( defined('ABSPATH') )
	include_once ABSPATH . 'config.php';
else
    include_once '../config.php';

// Include ezSQL core
include_once ABSPATH."common/ezsql/shared/ez_sql_core.php";
// Include ezSQL database specific component (in this case mySQL)
include_once ABSPATH."common/ezsql/mysql/ez_sql_mysql.php";

// Initialise database object and establish a connection
// at the same time - db_user / db_password / db_name / db_host
$db = new ezSQL_mysql(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST);



?>